---@class replica_components
---@field starry_badge replica_starry_badge

---@class replica_starry_badge
---@field inst ent
---@field val netvar
local starry_badge = Class(

---@param self replica_starry_badge
---@param inst ent
function(self, inst)
    self.inst = inst
    self.val = net_uint(inst.GUID, "starry_badge.val",'starry_badge_val_change')
end)

function starry_badge:SetVal(num)
    self.val:set(num)
end

function starry_badge:GetVal()
    return self.val:value()
end

return starry_badge